<%@ include file="/includes.jsp" %>
<%@ include file="/header.jsp" %>

<h2>Volunteer Confirmation</h2>

<p>You are confirmed for the following position:</p>

<form:form modelAttribute="position">
    <%--<form:hidden path="id"/>--%>
    <table>
        <tr>
            <td>Event Name:</td>
            <td><form:input path="name" size="30" readonly="true" maxlength="30"/></td>
        </tr>
        <tr>
            <td>Event Description:</td>
            <td><form:textarea path="description" readonly="true"/></td>
        </tr>
        <tr>
            <td>Location:</td>
            <td><form:input path="location" size="30" readonly="true" maxlength="30"/></td>
        </tr>
        <tr>
            <td>Start time:</td>
            <td><form:input path="startTime" size="30" readonly="true" maxlength="30"/></td>
        </tr>
        <tr>
            <td>End time:</td>
            <td><form:input path="endTime" size="30" readonly="true" maxlength="30"/></td>
        </tr>
    </table>
</form:form>

<form method="GET" action="<c:url value="../event/details"/>" name="details">
    <input type="hidden" name="id" value="${position.eventId}"/>
    <input class="submit" type="submit" value="OK"/>
</form>

<%@ include file="../footer.jsp" %>